package com.icow.wms.basic.service;

import java.util.List;

import com.icow.wms.basic.domain.CallbackInterface;
import com.icow.wms.basic.domain.TransportOrder;

/**
 * callbackService接口
 *
 * @author bcs
 * @date 2024-09-19
 */
public interface ICallbackInterfaceService {
    /**
     * 查询callback
     *
     * @param id callbackID
     * @return callback
     */
    public CallbackInterface selectCallbackInterfaceById(Long id);

    public void callbackThreadBoot(String callbackMoment, String agvName, TransportOrder transportOrder);

    /**
     * 查询callback列表
     *
     * @param callbackInterface callback
     * @return callback集合
     */
    public List<CallbackInterface> selectCallbackInterfaceList(CallbackInterface callbackInterface);

    /**
     * 新增callback
     *
     * @param callbackInterface callback
     * @return 结果
     */
    public int insertCallbackInterface(CallbackInterface callbackInterface);

    /**
     * 修改callback
     *
     * @param callbackInterface callback
     * @return 结果
     */
    public int updateCallbackInterface(CallbackInterface callbackInterface);

    /**
     * 批量删除callback
     *
     * @param ids 需要删除的callbackID
     * @return 结果
     */
    public int deleteCallbackInterfaceByIds(Long[] ids);

    /**
     * 删除callback信息
     *
     * @param id callbackID
     * @return 结果
     */
    public int deleteCallbackInterfaceById(Long id);
}
